import request from '@/utils/request'

// 查询省份患病数量统计列表
export function listDiseasestatistics(query) {
  return request({
    url: '/diseasestatistics/diseasestatistics/list',
    method: 'get',
    params: query
  })
}

// 查询省份患病数量统计详细
export function getDiseasestatistics(id) {
  return request({
    url: '/diseasestatistics/diseasestatistics/' + id,
    method: 'get'
  })
}

// 新增省份患病数量统计
export function addDiseasestatistics(data) {
  return request({
    url: '/diseasestatistics/diseasestatistics',
    method: 'post',
    data: data
  })
}

// 修改省份患病数量统计
export function updateDiseasestatistics(data) {
  return request({
    url: '/diseasestatistics/diseasestatistics',
    method: 'put',
    data: data
  })
}

// 删除省份患病数量统计
export function delDiseasestatistics(id) {
  return request({
    url: '/diseasestatistics/diseasestatistics/' + id,
    method: 'delete'
  })
}
